package contestseeker.action;

import java.io.*;

public class PageWriter {
	
	public static void write(String page)
	{
		File f = new File("Contest List.html");
		FileWriter fw = null;
		BufferedWriter bw = null;
		
		try {
			fw = new FileWriter(f);
			bw = new BufferedWriter(fw);
			bw.write(page);
			bw.close();
			fw.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}
